### Copyright (C) 2010 Desmond Carter
###
### This file is part of Ar.
###
### Ar is free software: you can redistribute it and/or modify it under the
### terms of the GNU General Public License as published by the Free Software
### Foundation, either version 3 of the License, or (at your option) any later
### version.
###
### Ar is distributed in the hope that it will be useful, but WITHOUT ANY
### WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
### FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
### details.
###
### You should have received a copy of the GNU General Public License along
### with Ar. If not, see <http://www.gnu.org/licenses/>.

## This is the script that Python will read when it is told to "import ar".

from locals import *
import pygame
import io, classes, drawtools, main

pygame.init()

# These should probably be moved, but for now they work adequately.
axes = map(classes.Axis, xrange(0, -6, -1), xrange(5, -1, -1), xrange(6))
board = classes.ArBoard(axes)

# Shared variables must be package level (which is also the reason for the
# above).
screen = pygame.Surface((width, height))
